wayland: Fix northeast resizing
authorMatthias Clasen <mclasen@redhat.com>
Fri, 21 Mar 2014 22:22:46 +0000 (18:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Mar 2014 22:24:38 +0000 (18:24 -0400)
Surprisingly, the same corner that was broken for resizing under
X is also broken under Wayland, for an entirely different reason.

gdk/wayland/gdkwindow-wayland.c

index 18583ef120d30c3c61883eb072298f6cafb41c55..16013fcda01fe13ec1f6bce240d3a88e2b7f9987 100644 (file)
@@ -1970,7 +1970,7 @@ gdk_wayland_window_begin_resize_drag (GdkWindow     *window,
       break;
 
     case GDK_WINDOW_EDGE_NORTH_EAST:
-      resize_edges = XDG_SURFACE_RESIZE_EDGE_RIGHT;
+      resize_edges = XDG_SURFACE_RESIZE_EDGE_TOP_RIGHT;
       break;
 
     case GDK_WINDOW_EDGE_WEST: